//
//  UITestViewController.m
//  UITest
//

#import "UITestViewController.h"

@implementation UITestViewController

- (void)viewDidLoad {
    [super viewDidLoad];
	
	CGRect viewFrame = CGRectMake(10,10,100,100);
	UIView *myView = [[UIView alloc] initWithFrame:viewFrame];
	
	myView.backgroundColor = [UIColor blueColor];
	
	[self.view addSubview:myView];
	NSLog(@"frame: %@", NSStringFromCGRect(myView.frame));
	NSLog(@"bounds: %@", NSStringFromCGRect(myView.bounds));

	viewFrame = CGRectMake(35, 10, 100, 100);
	[myView setFrame:viewFrame];
	NSLog(@"frame: %@", NSStringFromCGRect(myView.frame));
	NSLog(@"bounds: %@", NSStringFromCGRect(myView.bounds));
	
	[myView release];
}

- (void)dealloc {
    [super dealloc];
}

@end
